package com.scwatch.ext.service;

import com.scwatch.common.orm.Limitable;
import com.scwatch.ext.domain.LiveBroadcastAddress;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.Repository;

import java.util.List;
import java.util.Map;

public interface LiveBroadcastAddressService extends Repository<LiveBroadcastAddress, Integer>{

    Page<LiveBroadcastAddress> findAll(Map<String, String[]> params, Pageable pageable);

    List<LiveBroadcastAddress> findAll(Map<String, String[]> params, Limitable limit);

    LiveBroadcastAddress get(Integer id);

    LiveBroadcastAddress saveOrUpdata(LiveBroadcastAddress bean);


    LiveBroadcastAddress delete(Integer id);

    LiveBroadcastAddress[] delete(Integer[] ids);
}
